import request from '@/utils/request'

// 服务订单列表
export function getServiceOrderLists(query) {
    return request({
        url: '/joining/busin.OrdersService/getLists',
        method: 'post',
        params: query
    })
}

// 服务订单详情
export function getServiceOrderInfo(query) {
    return request({
        url: '/joining/busin.OrdersService/getInfo',
        method: 'post',
        params: query
    })
}

// 服务订单_指派员工
export function setAssignStaff(query) {
    return request({
        url: '/joining/busin.OrdersService/setAssignStaff',
        method: 'post',
        params: query
    })
}

// 服务订单完成
export function setServiceOrderComplete(query) {
    return request({
        url: '/joining/busin.OrdersService/setComplete',
        method: 'post',
        params: query
    })
}

// 服务订单_获取(未禁用)所属员工列表
export function getServiceOrderStaffLists(query) {
    return request({
        url: '/joining/busin.OrdersService/getStaffLists',
        method: 'post',
        params: query
    })
}